package com.carter.springframework.core.io;

import java.io.IOException;
import java.io.InputStream;

//资源加载接口，用于加载spring的配置
public interface Resource {

    /**
     * 获取资源的inputStream
     * @return
     * @throws IOException
     */
    InputStream getInputStream() throws IOException;

    String getDescription();
}
